//
//  Message.h
//  ChatDemo
//
//  Created by 陈石 on 15/5/13.
//  Copyright (c) 2015年 陈石. All rights reserved.
//

@import Foundation;
@import UIKit;

#import "MessageEnum.h"

@interface Message : NSObject

@property(nonatomic, copy) NSString *strIcon;
@property(nonatomic, copy) NSString *strId;
@property(nonatomic, copy) NSString *strTime;
@property(nonatomic, copy) NSString *strName;

@property(nonatomic, copy) NSString *strContent;
@property(nonatomic, copy) UIImage  *pictureURL;
@property(nonatomic, copy) NSData   *voiceURL;
@property(nonatomic, copy) NSData   *video;
@property(nonatomic, copy) NSString *strVoiceTime;

@property(nonatomic, assign) MessageType type;
@property(nonatomic, assign) MessageFrom from;

- (void)SetMsgWithDict:(NSDictionary *)dict MessageFrom:(MessageFrom)from;

@end
